package com.example.androidhw02_2;

import com.example.androidhw02_2.R;

public class PlayStyle {
	// Image according to type of file
	public static final String AVI = "avi";
	public static final String SMI = "smi";
	
	static int style(String str){
		if(str == AVI)
			return R.drawable.avi;
		else if(str == SMI)
			return R.drawable.smi;
		else
			return R.drawable.folder;
	}
}
